package sg.edu.nus.iss.billing.constant;

public interface ErrorCodeConstants {

	public static final String UNKNOWN_ERROR = "1000";

	/*
	 * datastore error code start from 1XXX
	 */
	public static final String ERROR_DATASTORE = "1001";

	/*
	 * user error code start from 2XXX
	 */
	public static final String ERROR_USER_DUPLICATION = "2001";
	public static final String ERROR_USER_NOT_FOUND = "2002";
	public static final String ERROR_USER_SELECTED = "2003";
	public static final String ERROR_USER_AUTHENTICATION_FAILED = "2004";
	/*
	 * customer entry error code start from 3XXX
	 */
	public static final String ERROR_CUSTOMER_DUPLICATION = "3001";
	public static final String ERROR_CUSTOMER_NOT_FOUND = "3002";
	public static final String ERROR_CUSTOMER_ENTRY = "3003";
	public static final String ERROR_NRIC_NOT_FOUND = "3004";

	/*
	 * account entry error code start from 4XXX
	 */

	public static final String ERROR_ACCOUNT_DUPLICATION = "4001";
	public static final String ERROR_ACCOUNT_NOT_FOUND = "4002";
	public static final String ERROR_ACCOUNT_ENTRY = "4003";

	/*
	 * customer complaint error code start from 5XXX
	 */
	public static final String ERROR_CUSTOMER_COMPLAINT_DUPLICATION = "5001";
	public static final String ERROR_CUSTOMER_COMPLAINT_NOT_FOUND = "5002";
	public static final String ERROR_CUSTOMER_COMPLAINT_ENTRY = "5003";
	public static final String ERROR_CUSTOMER_COMPLAINT_NOT_EXIST = "5004";

	/*
	 * GUI entry error code start from 9XXX
	 */
	public static final String ERROR_ENTRY_NO_PASSWORD = "9001";
	public static final String ERROR_ENTRY_ROLE_EMPTY = "9002";
	public static final String ERROR_ENTRY_COMPLAINT_STATUS_EMPTY = "9003";

	/*
	 * Subscription and service error code start from 6XXX
	 */
	public static final String ERROR_DUPICATE_SUBSCRIPTION = "6001";
	public static final String ERROR_TEMINATE_DT_OVERLAP = "6002";
	public static final String ERROR_OPTIONA_BASIC_TEMINATE_DT_OVERLAP = "6003";
	
	/*
	 * Template Engine exception start from 7XXX
	 * */
	public static final String ERROR_TEMPLATE_ENGINE_UNKNOWN = "7001";
}
